package com.dataseek.iot.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dataseek.iot.toolkit.mybatis.entity.BaseEntity;
import lombok.Data;

/**
 * @discription:
 * @author: Freya.Yan
 * @date: 2022/1/11
 */
@Data
@TableName(value = "tenant.sys_tenant")
public class Tenant extends BaseEntity {
    //用户id标识
    @TableId(value = "tenant_id", type = IdType.AUTO)
    private Long tenantId;

    @TableField(value = "company_name")
    private String companyName;
    @TableField(value = "company_code")
    private String companyCode;
    @TableField(value = "company_address")
    private String companyAddress;
    @TableField(value = "telephone")
    private String telephone;
    @TableField(value = "database_name")
    private String databaseName;
    @TableField(value = "super_admin_name")
    private String superAdminName;
    @TableField(value = "super_admin_password")
    private String superAdminPassword;
    private String status;
    @TableField(value = "tenant_name")
    private String tenantName;
    @TableField(value = "tenant_password")
    private String tenantPassword;
    @TableField(value = "db_host")
    private String dbHost;
    @TableField(value = "db_type")
    private String dbType;
    @TableField(value = "db_port")
    private Integer dbPort;
    @TableField(value = "schema_name")
    private String schemaName;
    @TableField(value = "driver_name")
    private String driverName;

}
